package com.dameng.work.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class T03 implements Serializable {

    private int id;
    //@JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createdate;//创建时间


    public T03(int id, Date createdate) {
        this.id = id;
        this.createdate = createdate;
    }

    @Override
    public String toString() {
        return "T03{" +
                "id=" + id +
                ", createdate=" + createdate +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getCreatedate() {
        return createdate;
    }

    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }
}
